package org.litemall.netty.nettyDoman;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author Lizr
 * @Description 发送用户消息
 * @CreateTime 2021-12-17 下午 3:02
 **/
@Data
public class sendUserMessageVO {
    @NotNull(message = "用户ID不能为空")
    private Integer id;

    @NotNull(message = "消息内容能为空")
    private String content;

    @NotNull(message = "内容类型不能为空,类型可选值: 1 text文字")
    private Integer type;
}
